package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 租房对象 hy_houses
 * 
 * @author ruoyi
 * @date 2025-01-10
 */
public class HyHouses extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 房源标题 */
    @Excel(name = "房源标题")
    private String title;

    /** 租金价格 */
    @Excel(name = "租金价格")
    private BigDecimal rentPrice;

    /** 租赁方式 */
    @Excel(name = "租赁方式")
    private String rentType;

    /** 房屋类型 */
    @Excel(name = "房屋类型")
    private String houseType;

    /** 房屋面积 */
    @Excel(name = "房屋面积")
    private BigDecimal area;

    /** 装修水平 */
    @Excel(name = "装修水平")
    private String decorationLevel;

    /** 朝向 */
    @Excel(name = "朝向")
    private String orientation;

    /** 楼层信息 */
    @Excel(name = "楼层信息")
    private String floorInfo;

    /** 所在小区名称 */
    @Excel(name = "所在小区名称")
    private String communityName;

    /** 所属区域 */
    @Excel(name = "所属区域")
    private String region;

    /** 距离地铁距离 */
    @Excel(name = "距离地铁距离")
    private BigDecimal distanceToSubway;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String detailedAddress;

    /** 经纪人姓名 */
    @Excel(name = "经纪人姓名")
    private String agentName;

    /** 经纪人所属 */
    @Excel(name = "经纪人所属")
    private String agentCompany;

    /** 房源描述 */
    @Excel(name = "房源描述")
    private String description;

    /** 设施类别 */
    @Excel(name = "设施类别")
    private String facilitiesType;

    /** 设施 */
    @Excel(name = "设施")
    private String facilityId;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date releaseTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setRentPrice(BigDecimal rentPrice) 
    {
        this.rentPrice = rentPrice;
    }

    public BigDecimal getRentPrice() 
    {
        return rentPrice;
    }
    public void setRentType(String rentType) 
    {
        this.rentType = rentType;
    }

    public String getRentType() 
    {
        return rentType;
    }
    public void setHouseType(String houseType) 
    {
        this.houseType = houseType;
    }

    public String getHouseType() 
    {
        return houseType;
    }
    public void setArea(BigDecimal area) 
    {
        this.area = area;
    }

    public BigDecimal getArea() 
    {
        return area;
    }
    public void setDecorationLevel(String decorationLevel) 
    {
        this.decorationLevel = decorationLevel;
    }

    public String getDecorationLevel() 
    {
        return decorationLevel;
    }
    public void setOrientation(String orientation) 
    {
        this.orientation = orientation;
    }

    public String getOrientation() 
    {
        return orientation;
    }
    public void setFloorInfo(String floorInfo) 
    {
        this.floorInfo = floorInfo;
    }

    public String getFloorInfo() 
    {
        return floorInfo;
    }
    public void setCommunityName(String communityName) 
    {
        this.communityName = communityName;
    }

    public String getCommunityName() 
    {
        return communityName;
    }
    public void setRegion(String region) 
    {
        this.region = region;
    }

    public String getRegion() 
    {
        return region;
    }
    public void setDistanceToSubway(BigDecimal distanceToSubway) 
    {
        this.distanceToSubway = distanceToSubway;
    }

    public BigDecimal getDistanceToSubway() 
    {
        return distanceToSubway;
    }
    public void setDetailedAddress(String detailedAddress) 
    {
        this.detailedAddress = detailedAddress;
    }

    public String getDetailedAddress() 
    {
        return detailedAddress;
    }
    public void setAgentName(String agentName) 
    {
        this.agentName = agentName;
    }

    public String getAgentName() 
    {
        return agentName;
    }
    public void setAgentCompany(String agentCompany) 
    {
        this.agentCompany = agentCompany;
    }

    public String getAgentCompany() 
    {
        return agentCompany;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setFacilitiesType(String facilitiesType) 
    {
        this.facilitiesType = facilitiesType;
    }

    public String getFacilitiesType() 
    {
        return facilitiesType;
    }
    public void setFacilityId(String facilityId) 
    {
        this.facilityId = facilityId;
    }

    public String getFacilityId() 
    {
        return facilityId;
    }
    public void setReleaseTime(Date releaseTime) 
    {
        this.releaseTime = releaseTime;
    }

    public Date getReleaseTime() 
    {
        return releaseTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("rentPrice", getRentPrice())
            .append("rentType", getRentType())
            .append("houseType", getHouseType())
            .append("area", getArea())
            .append("decorationLevel", getDecorationLevel())
            .append("orientation", getOrientation())
            .append("floorInfo", getFloorInfo())
            .append("communityName", getCommunityName())
            .append("region", getRegion())
            .append("distanceToSubway", getDistanceToSubway())
            .append("detailedAddress", getDetailedAddress())
            .append("agentName", getAgentName())
            .append("agentCompany", getAgentCompany())
            .append("description", getDescription())
            .append("facilitiesType", getFacilitiesType())
            .append("facilityId", getFacilityId())
            .append("releaseTime", getReleaseTime())
            .toString();
    }
}
